﻿using B.S.Data.MES.API.Dto.LoginDTO;
using B.S.Domain.Accounts;
using B.S.Requst;
using MediatR;

namespace B.S.Data.MES.API.Applications.AccountApplication.Command
{
    /// <summary>
    /// 登录任务
    /// </summary>
    public class LoginCommand:IRequest<APIRequst<UserDTO>>
    {
        /// <summary>
        /// 登录名
        /// </summary>
        public string? UserName {  get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string? UserPass { get; set; }
        /// <summary>
        /// 登录日志
        /// </summary>
        public LoginLogger data { get; set; }
        /// <summary>
        /// 客户端IP地址
        /// </summary>
        public string? ClientIp { get; set; }
    }
}
